package com.gun.management.module.raffle.controller.admin.lotteryrule.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.gun.management.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.gun.management.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 抽奖规则分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class LotteryRulePageReqVO extends PageParam {

    @Schema(description = "奖品头像")
    private String avatar;

    @Schema(description = "奖品名称", example = "赵六")
    private String name;

    /**
     * 产品id
     */
    @Schema(description = "产品id", example = "1")
    private Long productId;


    /**
     * 商品id
     */
    @Schema(description = "sku商品id", example = "1")
    private Long skuId;

    @Schema(description = "奖品类型(对应数据字典su_goods_type)", example = "4255")
    private Long categoryId;

    @Schema(description = "提示语")
    private String prompt;

    @Schema(description = "奖品概率")
    private Integer prizeProbability;


    @Schema(description = "奖品个数限制")
    private Integer prizeqty;


    @Schema(description = "状态", example = "1")
    private Integer status;

    @Schema(description = "备注", example = "备注：本次兑奖不能由别人代领")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}